package Java7_Concurrency_Cookbook.concurrent_custom.custom_thread_factory;

import java.util.concurrent.TimeUnit;

/**
 * @author lixiangke
 * @date 2017/11/24
 */
public class MyTask implements Runnable {
    @Override
    public void run() {
        try {
            TimeUnit.SECONDS.sleep(2);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
